package com.sorhis.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sorhis.dto.SysRoleDTO;
import com.sorhis.dto.SysTenantDTO;
import com.sorhis.entity.SysTenant;
import com.sorhis.vo.SysTenantTreeVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xihao.ding
 * @since 2025-02-11
 */
public interface ISysTenantService extends IService<SysTenant> {

    IPage findPageList(SysTenantDTO sysTenantDTO);

    Boolean saveOrUpateDomain(SysTenantDTO sysTenantDTO);

    Boolean del(String id);

    List<SysTenantTreeVO> tree();

    IPage roleTenantPage(SysRoleDTO sysRoleDTO);
}
